import request from '@/utils/request'

export function uploadPic(data) {
    return request({
        url: 'files/uploadPic',
        method: 'post',
        data
    })
}
export function uploadFile(data) {
    return request({
        url: 'files/uploadFile',
        method: 'post',
        data
    })
}
export function delFile(data) {
    return request({
        url: 'files/delFile',
        method: 'get',
        params:{file:data.response.data}
    })
}